package org.ben.birthday.twentybirthday.controller.travel.page;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @Author: Ben
 * @Date: 2019/7/22 14:41
 */
@Controller
@RequestMapping("/travelPage")
public class TravelPageController {

    @RequestMapping("/index")
    public ModelAndView travelIndex(){
        ModelAndView modelAndView=new ModelAndView();
        modelAndView.setViewName("travel/travelIndex");
        return modelAndView;
    }

    @RequestMapping("/regist")
    public ModelAndView travelRegist(){
        ModelAndView modelAndView=new ModelAndView();
        modelAndView.setViewName("travel/userPage/travelRegist");
        return modelAndView;
    }

    @RequestMapping("/login")
    public ModelAndView travelLogin(){
        ModelAndView modelAndView=new ModelAndView();
        modelAndView.setViewName("travel/userPage/travelLogin");
        return modelAndView;
    }
}
